package awd.bj.jls.webs.api;

import java.util.List;
import java.util.Map;

import awd.bj.jls.model.*;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.multipart.MultipartFile;

import awd.bj.base.model.Variables;
import awd.bj.jls.webs.api.hystrix.JlsServersApiFallBackFactory;
import awd.bj.jls.webs.api.model.JqTree;
import awd.bj.jls.webs.utils.PagerResult;
import awd.bj.jls.webs.utils.QueryParam;
import awd.bj.jls.webs.utils.ResponseMessage;
import awd.bj.jls.webs.utils.Result;

/**
 * @Description
 * @Author WS
 * @Date 2019-06-21 16:31
 */

@FeignClient(name = "${awd.api.jls:AWD-JLS-SERVER}",url="http://192.168.4.82:14101",  fallbackFactory = JlsServersApiFallBackFactory.class)

@Component
public interface JlsServersApi {
    /**
     * 查询字典缓存视数据
     */
    @GetMapping("/jls_dictionary/getDictionaryContent")
    Result<?> getDictionaryContent(@RequestParam(value = "code", required = true) String code, @RequestParam(value = "fieldname", required = true) String fieldname);

    
    /**
     * 	嫌疑人快速入所
     * @param xyrModel
     * @return
     */
    @PostMapping("/jls_xyr/saveAsKsrs")
    ResponseMessage<String> saveAsKsrs(@RequestBody XyrModel xyrModel);
    
    /**
     * 简要登记
     * @param xyrModel
     * @return
     */
    @PostMapping("/jls_xyr/saveAsXyr")
    ResponseMessage<String> saveAsXyr(@RequestBody XyrModel xyrModel);
    /**
     * 另行处理
     * @param xyrModel
     * @return
     */
    @PostMapping("/jls_xyr/updateBylxcl")
    ResponseMessage<String> saveAsLxcl(@RequestBody XyrModel xyrModel);
    
    //嫌疑人
    @GetMapping("/jls_xyr")
    ResponseMessage<PagerResult<XyrModel>> xyrQueryForPage(@RequestBody QueryParam param);
    
    @PostMapping("/jls_xyr")
    ResponseMessage<String> xyrSave(@RequestBody XyrModel xyrModel);
    
    
    //照片
    @GetMapping("/jls_photos")
    ResponseMessage<PagerResult<PhotosModel>> photosQueryForPage(@RequestBody QueryParam param);
    
    @PostMapping("/jls_photos")
    ResponseMessage<String> photosSave(@RequestBody PhotosModel photosModel);
    
    /**
     * @param fileName
     * @param file
     * @param ext
     * @return
     */
    @PostMapping("/jls_photos/uploadZpDfs")
    ResponseMessage<String> uploadZpDfs(@RequestParam("fileName") String fileName,
                       @RequestParam("file") byte[] file,
                       @RequestParam("ext") String ext);

    
    /**
     * 根据不同文件名，调用不同位置的图片处理接口
     * 左侧图片
     * @param rybh
     * @param file
     * @return
     */
    @RequestMapping(value = "/jls_photos/uploadLeftPhoto", method = RequestMethod.POST, consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
    ResponseMessage<String> uploadLeftPhoto( 
    		@RequestParam("rybh") String rybh,
    		@RequestParam("username") String username,
    		@RequestParam("jsbh") String jsbh,
    		@RequestPart("leftPhoto") MultipartFile file);
    /**
     * 右侧图片
     * @param rybh
     * @param file
     * @return
     */
    @RequestMapping(value = "/jls_photos/uploadRightPhoto", method = RequestMethod.POST, consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
    ResponseMessage<String> uploadRightPhoto(
    		@RequestParam("rybh") String rybh,
    		@RequestParam("username") String username,
    		@RequestParam("jsbh") String jsbh,
    		@RequestPart("rightPhoto") MultipartFile file);
    /**
     * 正面图片
     * @param rybh
     * @param file
     * @return
     */
    @RequestMapping(value = "/jls_photos/uploadCenterPhoto", method = RequestMethod.POST, consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
    ResponseMessage<String> uploadCenterPhoto( 
    		@RequestParam("rybh") String rybh,
    		@RequestParam("username") String username,
    		@RequestParam("jsbh") String jsbh,
    		@RequestPart("centerPhoto") MultipartFile file);
    
    /**
     * 	批量上传人员照片
     * @param rybh
     //* @param photoList
     * @return
     */
    @RequestMapping(value = "/jls_photos/uploadPhotos", method = RequestMethod.POST, consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
    ResponseMessage<String> uploadPhotos(@RequestParam("rybh") String rybh, @RequestBody List<MultipartFile> files);
    
    
    /**
     * 	根据id修改照片
     * @param rybh
     //* @param photoList
     * @return
     */
    @RequestMapping(value = "/jls_photos/uploadPhotoById", method = RequestMethod.POST, consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
    ResponseMessage<String> uploadPhotoById(@RequestParam("id") String id, @RequestPart("file") MultipartFile file);
    
    /**
     * 	查询流程中的基本信息
     *
     * @param variables
     * @return
     */
    @PostMapping("/jls_jbxx/getListCustom")
    ResponseMessage<PagerResult<JbxxModel>> getListCustom(Variables variables);


    @GetMapping("/jls_jq")
    ResponseMessage<PagerResult<JqModel>> jqQueryForPage(QueryParam param);

    @GetMapping("/jls_jq/getJqTree")
    ResponseMessage<List<JqTree>> getJqTree(@RequestParam("id") String id, @RequestParam("jsbh") String jsbh);

    @PostMapping("/jls_jq")
    ResponseMessage<String> jqSave(@RequestBody JqModel jqModel);

    @PutMapping("/jls_jq/{id}")
    ResponseMessage<String> jqUpdate(@RequestParam(value = "id") String id, @RequestBody JqModel jqModel);

    @DeleteMapping("/jls_jq/remove/{id}")
    ResponseMessage<Integer> jqDelete(@RequestParam(value = "id") String id);

    @GetMapping("/jls_fjsz")
    ResponseMessage<PagerResult<FjszModel>> fjszQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_fjsz")
    ResponseMessage<String> fjszSave(@RequestBody FjszModel fjszEntity);

    @PutMapping("/jls_fjsz/{id}")
    String fjszUpdate(@RequestParam(value = "id") String id, @RequestBody FjszModel fjszEntity);

    @GetMapping("/jls_wpjs")
    ResponseMessage<PagerResult<WpjsModel>> wpjsQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_wpjs/wpjsSave")
    ResponseMessage<String> wpjsSave(@RequestParam("taskid") String taskid,
                                     @RequestParam("ywlcid") String ywlcid,
                                     @RequestBody WpjsModel wpjsEntity);

    @PostMapping("/jls_wpjs/jsSave")
    ResponseMessage<String> jsSave(@RequestParam("taskid") String taskid, @RequestBody WpjsModel wpjsEntity);

    @PostMapping("/jls_wpjs/pfwpSave")
    ResponseMessage<String> pfwpSave(@RequestParam("taskid") String taskid, @RequestBody WpjsModel wpjsEntity);

    @PostMapping("/jls_wpjs")
    ResponseMessage<String> swSave(@RequestBody WpjsModel wpjsEntity);


    @PutMapping("/jls_wpjs/{id}")
    String wpjsUpdate(@RequestParam(value = "id") String id, @RequestBody WpjsModel wpjsEntity);

    @PostMapping("/jls_wpgl/wpglSave")
    ResponseMessage<String> wpglSave(@RequestParam("taskid") String taskid,
                                     @RequestParam("ywlcid") String ywlcid,
                                     @RequestBody WpglModel wpglEntity);
    
    
    @PostMapping("/jls_wpgl/wpglSaveByZcrs")
    ResponseMessage<String> wpglSaveByZcrs(@RequestParam("taskid") String taskid,
                                     @RequestParam("ywlcid") String ywlcid,
                                     @RequestBody List<WpglModel> wpglEntity);

    @GetMapping("/jls_clcs")
    ResponseMessage<PagerResult<ClcsModel>> clcsQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_clcs")
    ResponseMessage<String> clcsSave(@RequestBody ClcsModel clcsEntity);

    @PutMapping("/jls_clcs/{id}")
    String clcsUpdate(@RequestParam(value = "id") String id, @RequestBody ClcsModel clcsEntity);
    
    @PostMapping("/jls_clcs/addflow")
    ResponseMessage<String> clcsStartflow(@RequestParam(value = "processDefinitionId") String processDefinitionId, @RequestBody ClcsModel clcsEntity);

    @GetMapping("/jls_aqjc")
    ResponseMessage<PagerResult<AqjcModel>> aqjcQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_aqjc")
    ResponseMessage<String> aqjcSave(@RequestBody AqjcModel aqjcEntity);

    @PutMapping("/jls_aqjc/{id}")
    String aqjcUpdate(@RequestParam(value = "id") String id, @RequestBody AqjcModel aqjcEntity);

    @GetMapping("/jls_jbxx")
    ResponseMessage<PagerResult<JbxxModel>> jbxxQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_jbxx")
    ResponseMessage<String> jbxxSave(@RequestBody JbxxModel jbxxEntity);

    @PutMapping("/jls_jbxx/{id}")
    String jbxxUpdate(@RequestParam(value = "id") String id, @RequestBody JbxxModel jbxxEntity);


    @GetMapping("/jls_xjzc")
    ResponseMessage<PagerResult<XjzcModel>> xjzcQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_xjzc")
    ResponseMessage<String> xjzcSave(@RequestBody XjzcModel xjzcEntity);

    @PutMapping("/jls_xjzc/{id}")
    String xjzcUpdate(@RequestParam(value = "id") String id, @RequestBody XjzcModel xjzcEntity);


    @GetMapping("/jls_xjjs")
    ResponseMessage<PagerResult<XjjsModel>> xjjsQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_xjjs")
    ResponseMessage<String> xjjsSave(@RequestBody XjjsModel xjjsEntity);

    @PutMapping("/jls_xjjs/{id}")
    String xjjsUpdate(@RequestParam(value = "id") String id, @RequestBody XjjsModel xjjsEntity);


    @GetMapping("/jls_ryxxxg")
    ResponseMessage<PagerResult<RyxxxgModel>> ryxxxgQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_ryxxxg")
    ResponseMessage<String> ryxxxgSave(@RequestBody RyxxxgModel ryxxxgEntity);

    @PutMapping("/jls_ryxxxg/{id}")
    String ryxxxgUpdate(@RequestParam(value = "id") String id, @RequestBody RyxxxgModel ryxxxgEntity);

    ///提询  模块
    @GetMapping("/jls_txth")
    ResponseMessage<PagerResult<TxthModel>> txthQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_txth")
    ResponseMessage<String> txthSave(@RequestBody TxthModel txthEntity);

    @PutMapping("/jls_txth/{id}")
    String txthUpdate(@RequestParam(value = "id") String id, @RequestBody TxthModel txthEntity);


    @GetMapping("/jls_lscs")
    ResponseMessage<PagerResult<LscsModel>> lscsQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_lscs")
    ResponseMessage<String> lscsSave(@RequestBody LscsModel lscsEntity);

    @PutMapping("/jls_lscs/{id}")
    String lscsUpdate(@RequestParam(value = "id") String id, @RequestBody LscsModel lscsEntity);


    @GetMapping("/jls_ldsp")
    ResponseMessage<PagerResult<LdspModel>> ldspQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_ldsp")
    ResponseMessage<String> ldspSave(@RequestBody LdspModel ldspEntity);
    
    @PostMapping("/jls_ldsp/ldspSave")
    ResponseMessage<String> ldspSaveByparam(@RequestParam(value = "taskid") String taskid,@RequestBody LdspModel ldspEntity);

    @PutMapping("/jls_ldsp/{id}")
    String ldspUpdate(@RequestParam(value = "id") String id, @RequestBody LdspModel ldspEntity);


    @GetMapping("/jls_dyflxgws")
    ResponseMessage<PagerResult<DyflxgwsModel>> dyflxgwsQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_dyflxgws")
    ResponseMessage<String> dyflxgwsSave(@RequestBody DyflxgwsModel dyflxgwsEntity);

    @PutMapping("/jls_dyflxgws/{id}")
    String dyflxgwsUpdate(@RequestParam(value = "id") String id, @RequestBody DyflxgwsModel dyflxgwsEntity);


    @GetMapping("/jls_dcjs")
    ResponseMessage<PagerResult<DcjsModel>> dcjsQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_dcjs")
    ResponseMessage<String> dcjsSave(@RequestBody DcjsModel dcjsEntity);

    @PutMapping("/jls_dcjs/{id}")
    String dcjsUpdate(@RequestParam(value = "id") String id, @RequestBody DcjsModel dcjsEntity);


    @GetMapping("/jls_qktxs")
    ResponseMessage<PagerResult<QktxsModel>> qktxsQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_qktxs")
    ResponseMessage<String> qktxsSave(@RequestBody QktxsModel qktxsEntity);

    @PutMapping("/jls_qktxs/{id}")
    String qktxsUpdate(@RequestParam(value = "id") String id, @RequestBody QktxsModel qktxsEntity);

    @GetMapping("/jls_yydj")
    ResponseMessage<PagerResult<YydjModel>> yydjQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_yydj")
    ResponseMessage<String> yydjSave(@RequestBody YydjModel yydjEntity);

    @PutMapping("/jls_yydj/{id}")
    String yydjUpdate(@RequestParam(value = "id") String id, @RequestBody YydjModel yydjEntity);

    @GetMapping("/jls_fwdj")
    ResponseMessage<PagerResult<FwdjModel>> fwdjQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_fwdj")
    ResponseMessage<String> fwdjSave(@RequestBody FwdjModel fwdjEntity);

    @PutMapping("/jls_fwdj/{id}")
    String fwdjUpdate(@RequestParam(value = "id") String id, @RequestBody FwdjModel fwdjEntity);


    @GetMapping("/jls_thjy")
    ResponseMessage<PagerResult<ThjyModel>> thjyQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_thjy")
    ResponseMessage<String> thjySave(@RequestBody ThjyModel thjyModel);

    @PutMapping("/jls_thjy/{id}")
    String thjyUpdate(@RequestParam(value = "id") String id, @RequestBody ThjyModel thjyModel);


    @GetMapping("/jls_jtjy")
    ResponseMessage<PagerResult<JtjyModel>> jtjyQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_jtjy")
    ResponseMessage<String> jtjySave(@RequestBody JtjyModel jtjyModel);

    @PutMapping("/jls_jtjy/{id}")
    String jtjyUpdate(@RequestParam(value = "id") String id, @RequestBody JtjyModel jtjyModel);

    @GetMapping("/jls_shgx")
    ResponseMessage<PagerResult<ShgxModel>> shgxQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_shgx")
    ResponseMessage<String> shgxSave(@RequestBody ShgxModel shgxModel);

    @PutMapping("/jls_shgx/{id}")
    String shgxUpdate(@RequestParam(value = "id") String id, @RequestBody ShgxModel shgxModel);

    @PostMapping("/jls_qjcs")
    ResponseMessage<String> qjcsSave(@RequestBody QjcsModel qjcsModel);

    @GetMapping("/jls_jshj")
    ResponseMessage<PagerResult<JshjModel>> jshjQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_jshj")
    ResponseMessage<String> jshjSave(@RequestBody JshjModel jshjModel);

    @PutMapping("/jls_jshj/{id}")
    String jshjUpdate(@RequestParam(value = "id") String id, @RequestBody JshjModel jshjModel);

    @GetMapping("/jls_tsdj")
    ResponseMessage<PagerResult<TsdjModel>> tsdjQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_tsdj")
    ResponseMessage<String> tsdjSave(@RequestBody TsdjModel tsdjModel);

    @PutMapping("/jls_tsdj/{id}")
    String tsdjUpdate(@RequestParam(value = "id") String id, @RequestBody TsdjModel tsdjModel);

    @GetMapping("/jls_tsdj/jbxxlist")
    ResponseMessage<PagerResult<Map<String, Object>>> getTsdjJbxxList(@RequestBody QueryParam arg1);

    @PostMapping(value = "/jls_tsdj/hdpzSave")
    ResponseMessage<String> hdpzSave(@RequestBody TsdjModel tsdjModel);

    @PostMapping(value = "/jls_tsdj/djcpSave")
    ResponseMessage<String> djcpSave(@RequestParam("taskid") String taskid,
                                     @RequestParam("ywlcid") String ywlcid,
                                     @RequestBody TsdjModel model);

    @PostMapping(value = "/jls_tsdj/aptxSave")
    ResponseMessage<String> aptxSave(@RequestParam("taskid") String taskid,
                                     @RequestBody TsdjModel model);

    @PostMapping(value = "/jls_tsdj/xwdjSave")
    ResponseMessage<String> xwdjSave(@RequestParam("taskid") String taskid,
                                     @RequestBody TsdjModel model);

    @PostMapping(value = "/jls_tsdj/szyjSave")
    ResponseMessage<String> szyjSave(@RequestParam("taskid") String taskid,
                                     @RequestBody TsdjModel model);

    @GetMapping("/jls_lshj")
    ResponseMessage<PagerResult<LshjModel>> lshjQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_lshj")
    ResponseMessage<String> lshjSave(@RequestBody LshjModel lshjModel);

    @PutMapping("/jls_lshj/{id}")
    String lshjUpdate(@RequestParam(value = "id") String id, @RequestBody LshjModel lshjModel);

    @GetMapping("/jls_swfz")
    ResponseMessage<PagerResult<SwfzModel>> swfzQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_swfz")
    ResponseMessage<String> swfzSave(@RequestBody SwfzModel swfzModel);

    @PutMapping("/jls_swfz/{id}")
    String swfzUpdate(@RequestParam(value = "id") String id, @RequestBody SwfzModel swfzModel);

    @GetMapping("/jls_emdj")
    ResponseMessage<PagerResult<EmdjModel>> emdjQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_emdj")
    ResponseMessage<String> emdjSave(@RequestBody EmdjModel emdjModel);

    @PutMapping("/jls_emdj/{id}")
    String emdjUpdate(@RequestParam(value = "id") String id, @RequestBody EmdjModel emdjModel);

    @GetMapping("/jls_jcjl")
    ResponseMessage<PagerResult<JcjlModel>> jcjlQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_jcjl")
    ResponseMessage<String> jcjlSave(@RequestBody JcjlModel jcjlModel);

    @PutMapping("/jls_jcjl/{id}")
    String jcjlUpdate(@RequestParam(value = "id") String id, @RequestBody JcjlModel jcjlModel);

    @GetMapping("/jls_scqk")
    ResponseMessage<PagerResult<ScqkModel>> scqkQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_scqk")
    ResponseMessage<String> scqkSave(@RequestBody ScqkModel scqkModel);

    @PutMapping("/jls_scqk/{id}")
    String scqkUpdate(@RequestParam(value = "id") String id, @RequestBody ScqkModel scqkModel);

    @GetMapping("/jls_xsjl")
    ResponseMessage<PagerResult<XsjlModel>> xsjlQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_xsjl")
    ResponseMessage<String> xsjlSave(@RequestBody XsjlModel xsjlModel);

    @PutMapping("/jls_xsjl/{id}")
    String xsjlUpdate(@RequestParam(value = "id") String id, @RequestBody XsjlModel xsjlModel);

    @GetMapping("/jls_crjdj")
    ResponseMessage<PagerResult<CrjdjModel>> crjdjQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_crjdj")
    ResponseMessage<String> crjdjSave(@RequestBody CrjdjModel crjdjModel);

    @PutMapping("/jls_crjdj/{id}")
    String crjdjUpdate(@RequestParam(value = "id") String id, @RequestBody CrjdjModel crjdjModel);

    @GetMapping("/jls_szjdjl")
    ResponseMessage<PagerResult<SzjdjlModel>> szjdjlQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_szjdjl")
    ResponseMessage<String> szjdjlSave(@RequestBody SzjdjlModel szjdjlModel);

    @PutMapping("/jls_szjdjl/{id}")
    String szjdjlUpdate(@RequestParam(value = "id") String id, @RequestBody SzjdjlModel szjdjlModel);

    @GetMapping("/jls_wmpb")
    ResponseMessage<PagerResult<WmpbModel>> wmpbQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_wmpb")
    ResponseMessage<String> wmpbSave(@RequestBody WmpbModel wmpbModel);

    @PutMapping("/jls_wmpb/{id}")
    String wmpbUpdate(@RequestParam(value = "id") String id, @RequestBody WmpbModel wmpbModel);

    @GetMapping("/jls_jshjHjr")
    ResponseMessage<PagerResult<JshjHjrModel>> jshjHjrQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_jshjHjr")
    ResponseMessage<String> jshjHjrSave(@RequestBody JshjHjrModel jshjHjrModel);

    @PutMapping("/jls_jshjHjr/{id}")
    String jshjHjrUpdate(@RequestParam(value = "id") String id, @RequestBody JshjHjrModel jshjHjrModel);

    @GetMapping("/jls_jbjl")
    ResponseMessage<PagerResult<JbjlModel>> jbjlQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_jbjl")
    ResponseMessage<String> jbjlSave(@RequestBody JbjlModel jbjlModel);

    @PutMapping("/jls_jbjl/{id}")
    String jbjlUpdate(@RequestParam(value = "id") String id, @RequestBody JbjlModel jbjlModel);

    @GetMapping("/jls_zdry")
    ResponseMessage<PagerResult<ZdryModel>> zdryQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_zdry")
    ResponseMessage<String> zdrySave(@RequestBody ZdryModel zdryModel);

    @PutMapping("/jls_zdry/{id}")
    String zdryUpdate(@RequestParam(value = "id") String id, @RequestBody ZdryModel zdryModel);

    @GetMapping("/jls_dwkf")
    ResponseMessage<PagerResult<DwkfModel>> dwkfQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_dwkf")
    ResponseMessage<String> dwkfSave(@RequestBody DwkfModel dwkfModel);

    @PutMapping("/jls_dwkf/{id}")
    String dwkfUpdate(@RequestParam(value = "id") String id, @RequestBody DwkfModel dwkfModel);

    @GetMapping("/jls_wlrydj")
    ResponseMessage<PagerResult<WlrydjModel>> wlrydjQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_wlrydj")
    ResponseMessage<String> wlrydjSave(@RequestBody WlrydjModel wlrydjModel);

    @PutMapping("/jls_wlrydj/{id}")
    String wlrydjUpdate(@RequestParam(value = "id") String id, @RequestBody WlrydjModel wlrydjModel);

    @GetMapping("/jls_ysxz")
    ResponseMessage<PagerResult<YsxzModel>> ysxzQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_ysxz")
    ResponseMessage<String> ysxzSave(@RequestBody YsxzModel ysxzModel);

    @PutMapping("/jls_ysxz/{id}")
    String ysxzUpdate(@RequestParam(value = "id") String id, @RequestBody YsxzModel ysxzModel);

    @GetMapping("/jls_snjy")
    ResponseMessage<PagerResult<SnjyModel>> snjyQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_snjy")
    ResponseMessage<String> snjySave(@RequestBody SnjyModel snjyModel);

    @PutMapping("/jls_snjy/{id}")
    String snjyUpdate(@RequestParam(value = "id") String id, @RequestBody SnjyModel snjyModel);

    @GetMapping("/jls_swjy")
    ResponseMessage<PagerResult<SwjyModel>> swjyQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_swjy")
    ResponseMessage<String> swjySave(@RequestBody SwjyModel swjyModel);

    @PutMapping("/jls_swjy/{id}")
    String swjyUpdate(@RequestParam(value = "id") String id, @RequestBody SwjyModel swjyModel);

    @GetMapping("/jls_swdj")
    ResponseMessage<PagerResult<SwdjModel>> swdjQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_swdj")
    ResponseMessage<String> swdjSave(@RequestBody SwdjModel swdjModel);

    @PutMapping("/jls_swdj/{id}")
    String swdjUpdate(@RequestParam(value = "id") String id, @RequestBody SwdjModel swdjModel);

    @GetMapping("/jls_cwgl")
    ResponseMessage<PagerResult<CwglModel>> cwglQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_cwgl")
    ResponseMessage<String> cwglSave(@RequestBody CwglModel cwglModel);

    @PutMapping("/jls_cwgl/{id}")
    String cwglUpdate(@RequestParam(value = "id") String id, @RequestBody CwglModel cwglModel);

    @GetMapping("/jls_sqbl")
    ResponseMessage<PagerResult<SqblModel>> sqblQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_sqbl")
    ResponseMessage<String> sqblSave(@RequestBody SqblModel sqblModel);

    @PutMapping("/jls_sqbl/{id}")
    String sqblUpdate(@RequestParam(value = "id") String id, @RequestBody SqblModel sqblModel);

    @GetMapping("/jls_jstz")
    ResponseMessage<PagerResult<JstzModel>> jstzQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_jstz")
    ResponseMessage<String> jstzSave(@RequestBody JstzModel jstzModel);

    @PutMapping("/jls_jstz/{id}")
    String jstzUpdate(@RequestParam(value = "id") String id, @RequestBody JstzModel jstzModel);

    @GetMapping("/jls_ygry")
    ResponseMessage<PagerResult<YgryModel>> ygryQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_ygry")
    ResponseMessage<String> ygrySave(@RequestBody YgryModel ygryModel);

    @PutMapping("/jls_ygry/{id}")
    String ygryUpdate(@RequestParam(value = "id") String id, @RequestBody YgryModel ygryModel);

    @GetMapping("/jls_jkqk")
    ResponseMessage<PagerResult<JkqkModel>> jkqkQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_jkqk")
    ResponseMessage<String> jkqkSave(@RequestParam("taskid") String taskid,
                                     @RequestParam("ywlcid") String ywlcid,
                                     @RequestBody JkqkModel jkqkModel);

    @PostMapping("/jls_jkqk/jkqkSaveByZcrs")
    ResponseMessage<String> jkqkSaveByZcrs(@RequestParam("jkjcjg") String jkjcjg,
    								@RequestParam("taskid") String taskid,
                                     @RequestParam("ywlcid") String ywlcid,
                                     @RequestBody JkqkModel jkqkModel);
    
    @PutMapping("/jls_jkqk/{id}")
    String jkqkUpdate(@RequestParam(value = "id") String id, @RequestBody JkqkModel jkqkModel);

    @GetMapping("/jls_xlzx")
    ResponseMessage<PagerResult<XlzxModel>> xlzxQueryForPage(@RequestBody QueryParam param);

    @PostMapping("/jls_xlzx")
    ResponseMessage<String> xlzxSave(@RequestBody XlzxModel xlzxModel);

    @PutMapping("/jls_xlzx/{id}")
    String xlzxUpdate(@RequestParam(value = "id") String id, @RequestBody XlzxModel xlzxModel);

    @GetMapping("/jls_jj")
    public ResponseMessage<PagerResult<JjModel>> jjQueryForPage(@RequestBody QueryParam param);
    @PostMapping("/jls_jj")
    public ResponseMessage<String> jjSave(@RequestBody JjModel jjModel);
    @PutMapping("/jls_jj/{id}")
    public String jjUpdate(@RequestParam(value="id") String id ,@RequestBody JjModel jjModel);
    

}
